#include<bits/stdc++.h>

using namespace std;

int DiffWeight(int x , int y , int z){}

int xls_min(int i, int j,int k){}

int findMinDiffWeight(int n)
{
    int i = 0, j = 0, k = 0;
    int ans = 0;
    ans = DiffWeight(i, j, k);
    while (i < n && j < n && k < n)
    {
        int res = xls_min(i, j, k);
        if (res == 1)
            i++;
        else if (res == 2)
            j++;
        else
            k++;
        ans = min(ans, DiffWeight(i, j, k));
    }
    return ans;
}